package ren.kane.phoenix.mybatis.entity;

public class User {
    private Integer id;

    private String name;

    private String sex;

    private Boolean age;

    private String idNo;

    private String mobile;

    private String address;

    private String description;

    public User(Integer id, String name, String sex, Boolean age, String idNo, String mobile, String address) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.idNo = idNo;
        this.mobile = mobile;
        this.address = address;
    }

    public User(Integer id, String name, String sex, Boolean age, String idNo, String mobile, String address, String description) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.idNo = idNo;
        this.mobile = mobile;
        this.address = address;
        this.description = description;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Boolean getAge() {
        return age;
    }

    public void setAge(Boolean age) {
        this.age = age;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo == null ? null : idNo.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}